Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gender symbol option to the detailed ancestral report #1818

Merged

Conversation

dave-khuon
Copy link
Contributor

Add an option to insert a gender symbol before the person's name

@dave-khuon
Copy link
Contributor Author

TestResults-DetAncestralReport.pdf

@Nick-Hall Nick-Hall changed the title Update detancestralreport.py Add gender symbol option to the detailed ancestral report Jan 13, 2025
@Nick-Hall
Copy link
Member

The get_name method in the relationship view uses self.symbols.get_symbol_for_string(person.gender) to get the gender symbol. Only the values 0, 1, 2 and 3 are allowed in the gender field of a person. Your _MSYM_GSET variable is not necessary.

Otherwise I like this PR.

@dave-khuon
Copy link
Contributor Author

dave-khuon commented Jan 14, 2025 via email

@Nick-Hall
Copy link
Member

PS: If I push the new remediation changes in the next couple of days, is
there any chance this feature can make it to the next gramps 6.0 release?

Yes. The PR was submitted before the cut-off.

@dave-khuon
Copy link
Contributor Author

Remove unnecessary _MSYM_GSET.

@Nick-Hall Nick-Hall force-pushed the NewFeatureDetAncestralReport branch from 891b136 to fa3c2c8 Compare January 20, 2025 18:05
@Nick-Hall Nick-Hall merged commit fa3c2c8 into gramps-project:master Jan 20, 2025
2 checks passed
@dave-khuon dave-khuon deleted the NewFeatureDetAncestralReport branch January 20, 2025 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants